<template>
  <div class="containers">
    <span class="title">密码修改成功,快去登录吧!</span>
    <div @click="goLogin" class="next">去登陆吧</div>
  </div>
</template>

<script>
export default {
  name: 'ChangeComplete',
  methods: {
    goLogin() {
      this.$router.push('/login')
    }
  }
}
</script>

<style lang="scss" scoped>
.containers {
  width: 300px;
  margin: 0 auto;
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  .title {
    margin-bottom: 30px;
  }
  .next {
    font-size: 16px;
    background: linear-gradient(135deg,#FFD000 0,#FFBD00 100%);
    border-radius: 8px;
    border: 1px solid #FFD000;
    text-align: center;
    color: #222222;
    height: 36px;
    line-height: 36px;
    cursor: pointer;
    width: 300px;
    display: inline-block;
  }
}
</style>